import httpRequest from '@/utils/request'
export const GetLogin = (tel, code) => {
  return httpRequest({
    url: '/api/app/login/loginByMobileAndVerifyCode',
    method: 'POST',
    data: {
      appType: 0,
      deviceToken: 0,
      mobile: tel,
      verificationCode: code
    },
    arr: ['mobile', 'verificationCode', 'deviceToken', 'appType'],
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'
    }
  })
}
